package com.hs.service;

import com.github.pagehelper.PageInfo;
import com.hs.entity.PubCenter;

import java.util.List;

public interface PubCenterService {
    //添加
    Integer addPubCenter(PubCenter pubCenter);
    //删除
    Integer deletePubCenter(Integer id);
    //修改
    Integer updatePubCenter(PubCenter pubCenter);
    //根据id查询
    PubCenter getPubCenterById(Integer id);
    //分页查询
    PageInfo<PubCenter> getPubCenterPage(Integer pageNum, Integer pageSize);
//    List<PubCenter> getPubCenterList();
}
